import request from '@/utils/request'

export function createPaper(examId) {
    return request({
        url: `/paper/create/${examId}`,
        method: 'get',
    })
}

export function dtk(paperId) {
    return request({
        url: `/paper/dtk/${paperId}`,
        method: 'get',
    })
}

export function fillanswer(data) {
    return request({
        url: '/paper/fillAnswer',
        method: 'post',
        data
    })
}

export function handlePaper(paperId) {
    return request({
        url: `/paper/handlePaper/${paperId}`,
        method: 'get',
    })
}